package com.ldp.designpatterns.study.visitor.service;

import com.ldp.designpatterns.study.visitor.impl.Keyboard;
import com.ldp.designpatterns.study.visitor.impl.Mouse;

/**
 * @ClassName ComputerPartVisitor
 * @Description TODO 访问者模式——步骤3：定义一个访问者的接口
 * @Author lindipei
 * @Date 2023/10/17 18:36
 */
public interface ComputerPartVisitor {
    public void visit(Mouse mouse);

    public void visit(Keyboard keyboard);
}
